package com.campus.dao;

import com.campus.model.Teacher;

import java.util.List;

public interface TeacherDao {
    Integer addTeacher(Teacher teacher);

    Teacher queryTeacherById(int teacherId);

    List<Teacher> queryTeacherByName(String name);
}
